package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("skip")
public class Skip {

    //跳转到注册页面
    @RequestMapping("toregister")
    public String toregister() {
        return "register";
    }

    //跳转到登录页面
    @RequestMapping("toshoplogin")
    public String toshoplogin() {
        return "shoplogin";
    }

    //跳转到index页面
    @RequestMapping("toindex")
    public String toindex() {
        return "admin/index";
    }

    //跳转到协议页面
    @RequestMapping("tosampling")
    public String tosampling() {
        return "sampling";
    }

    //跳转到home页面
    @RequestMapping("tohome")
    public String tohome() {
        return "admin/home";
    }

    //跳转到cooperation页面
    @RequestMapping("tocooperation")
    public String tocooperation() {
        return "cooperation";
    }

    //跳转到goods页面
    @RequestMapping("togoods")
    public String togoods() {
        return "admin/goods";
    }

    //跳转到goods_edit页面
    @RequestMapping("togoods_edit")
    public String togoods_edit() {
        return "admin/goods_edit";
    }

    //跳转到password页面
    @RequestMapping("topassword")
    public String topassword() {
        return "admin/password";
    }

    //跳转到seller页面
    @RequestMapping("toseller")
    public String toseller() {
        return "admin/seller";
    }
}
